package com.cf.download.service;

import com.cf.download.dto.UserDto;
import com.cf.download.entity.User;

import java.util.List;

/**
 * @Author: YangF
 * @Date: 2020-12-24 15:50
 * @description:
 */
public interface UserService {
    User queryUserByLogin(UserDto userDto);

    List<User> queryAll();

    void queryInsert(User user);

    User findUserByName(String username);

    User selectUserById(Integer id);

    User findUserById(Integer id);

    int putUser(User user);

    void deleteUser(Integer id);
}
